package com.hyd.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.base.mybatis.plus.EntityWrapper;

import com.hyd.dao.YAxisMapper;
import com.hyd.dao.model.YAxis;
import com.hyd.dao.model.YAxisExample;

@Service
public class YAxisService {
	@Autowired
	private YAxisMapper yAxisMapper;

	public int countByExample(YAxisExample example) {
		return this.yAxisMapper.countByExample(example);
	}

	public YAxis selectByPrimaryKey(Integer id) {
		return this.yAxisMapper.selectByPrimaryKey(id);
	}

	public List<YAxis> selectByExample(YAxisExample example) {
		return this.yAxisMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(Integer id) {
		return this.yAxisMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(YAxis record) {
		return this.yAxisMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(YAxis record) {
		return this.yAxisMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(YAxisExample example) {
		return this.yAxisMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(YAxis record, YAxisExample example) {
		return this.yAxisMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(YAxis record, YAxisExample example) {
		return this.yAxisMapper.updateByExample(record, example);
	}

	public int insert(YAxis record) {
		return this.yAxisMapper.insert(record);
	}

	public int insertSelective(YAxis record) {
		return this.yAxisMapper.insertSelective(record);
	}

	public List<YAxis> selectByWrapper(EntityWrapper<YAxis> wrapper) {
		return this.yAxisMapper.selectByWrapper(wrapper);
	}

}
